package study.springboot.starter.tacker.filter;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.condition.AllNestedConditions;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;

@Slf4j
public class OnTrackerFilterConditions extends AllNestedConditions {

    public OnTrackerFilterConditions() {
        super(ConfigurationPhase.PARSE_CONFIGURATION);
        log.info("ffffffffffffffffffff");
    }

    @ConditionalOnProperty(name = "tracker.filter.enabled", havingValue = "true", matchIfMissing = true)
    static class OnProperty {
    }

//    @ConditionalOnClass(TrackerFilter.class)
//    static class OnClass {
//    }
}
